import http from './axios'


export function personalized() {
    return http.get('/music-api/personalized?limit=6')
}

// newsong
export function newsong() {
    return http.get('/music-api/personalized/newsong')
}

///playlist/details
export function detailList(id) {
    return http.get(`/music-api/playlist/detail?id=${id}`)
}
///song/detail
export function detailSong(ids) {
    return http.get(`/music-api/song/detail?ids=${ids}`)
}
///lyric
export function lyricSong(id) {
    return http.get(`/music-api/lyric?id=${id}`)
}
//song/url
export function urlSong(id) {
    return http.get(`/music-api/song/url?id=${id}`)
}

// /toplist/detail
export function topList() {
    return http.get(`/music-api/toplist/detail`)
}
// /api/shop/shopCategory/open/list

